package com.work.pojo;

public class Car {
    private int cart_id;//购物车id
    private int goods_num ;//该货品数量
    private int goods_id;//货物id
    private int user_id;//用户id

    @Override
    public String toString() {
        return "Car{" +
                "cart_id=" + cart_id +
                ", goods_num=" + goods_num +
                ", goods_id=" + goods_id +
                ", user_id=" + user_id +
                '}';
    }

    public int getCart_id() {
        return cart_id;
    }

    public void setCart_id(int cart_id) {
        this.cart_id = cart_id;
    }

    public int getGoods_num() {
        return goods_num;
    }

    public void setGoods_num(int goods_num) {
        this.goods_num = goods_num;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }
}
